package com.dangz.dans.dao;

import com.dangz.dans.model.wx.SubscribeInfo;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.stereotype.Repository;

/**
 * SubscribeInfoRepository 粉丝查询
 * @author dangz
 * @since 2018/2/1 16:04
 */
@Repository
public interface SubscribeInfoRepository extends JpaRepository<SubscribeInfo, String>,
        JpaSpecificationExecutor<SubscribeInfo> {
    SubscribeInfo findByOpenidAndPid(String openid, String to);
}
